package top.songxs.dao;

import top.songxs.base.BaseDao;
import top.songxs.entity.UserFollow;
import top.songxs.vo.UserFollowVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

public interface UserFollowDao extends BaseDao<UserFollow> {
    int isFollow(@Param("houseId") Long houseId,@Param("userId") Long userId);

    Page<UserFollowVo> findListPage(Long userId);

    void cancelFollow(Long id);
}
